package com.dsj.gxrd.modules.activity.domain.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.dsj.gxrd.common.MyBaseEntity;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author songpin566
 * @date 2023/10/10
 **/
@Data
@ApiModel("十佳建议")
@TableName("rd_excellent_advice")
public class RdExcellentAdvice extends MyBaseEntity<String> {

    @TableId(type = IdType.ASSIGN_ID)
    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty("id")
    private Long id;
    /**
     * 代表建议
     */
    private String showName;
    private String opinionContent;
    private Long userId;
    private Long deptId;
    private String handleResult;
    private Integer status;
    @TableLogic
    private Integer delFlag;

    /**
     * 部门名称
     */
    @TableField(exist = false)
    private String deptName;

    /**
     * 代表姓名
     */
    @TableField(exist = false)
    private String name;


}
